#ifndef ADDFEEDWINDOW_H
#define ADDFEEDWINDOW_H

#include <QLabel>
#include <QWidget>

namespace Ui {
class AddFeedWindow;
}

class AddFeedWindow : public QWidget
{
    Q_OBJECT

public:
    explicit AddFeedWindow(QWidget *parent = nullptr);
    ~AddFeedWindow();

protected:
    bool eventFilter(QObject *obj, QEvent *event)override;

signals:
    void sig_announceFeed();
private slots:
    void on_btn_release_clicked();

    void on_btn_close_clicked();

    void on_btn_min_clicked();

    void on_btn_addimg_clicked();



private:
    Ui::AddFeedWindow *ui;
    int type;       // 动态类型
    QString text;       // 用户输入的文本
    QLabel* lab_img;    // 选择的图片
    QString imgpath;    // 选择图片的路径
};

#endif // ADDFEEDWINDOW_H
